package com.nandi.deviceinstall.model


import com.nandi.deviceinstall.bean.BaseObjectBean
import com.nandi.deviceinstall.bean.LoginBean
import com.nandi.deviceinstall.contract.EquimentStepContract
import com.nandi.deviceinstall.contract.LoginContract
import com.nandi.deviceinstall.contract.UploadSuccessEquipmentContract
import com.nandi.deviceinstall.net.RetrofitClient

import io.reactivex.Flowable
import okhttp3.ResponseBody


class UploadSuccessEquipmentModel : UploadSuccessEquipmentContract.Model {

    private val apiService = RetrofitClient.getInstance()!!.api!!
    override fun executeDownPic(token: String, path: String): Flowable<ResponseBody> {
        return apiService.downPic(token, path, 6)
    }
}
